package com.xxx.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xxx.pojo.User;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author George
 * @since 2023-07-04
 */
@Data
@Table(name = "user")
public class DepartmentVo extends User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关联用户部门ID
     */
    @TableId(value = "Department_id", type = IdType.AUTO)
    private String departmentId;

    /**
     * 部门名称
     */
    @TableField("department_name")
    private String departmentName;



}
